package com.fskury.jksspringbootstarterautoconfigure.service;

import com.fskury.jksspringbootstarterautoconfigure.properties.JksProperties;

public class JksService {

  private JksProperties jksProperties;

  public JksService(JksProperties jksProperties) {
    this.jksProperties = jksProperties;
  }

  public String getPublicKey(String privateKey){
    return jksProperties.getPublicKey()+"-"+privateKey;
  }

  public String getPrivateKey(){
    return jksProperties.getPrivateKey();
  }
}
